package com.leadingsoft.pwxk.model;

import java.util.List;

import javax.persistence.CascadeType;
import javax.persistence.Entity;
import javax.persistence.OneToMany;

import com.alibaba.fastjson.annotation.JSONField;

import lombok.Data;

/**
 * 
 * @author ysh
 * @desc 审批信息-发证信息
 */
@Entity
@Data
// 审核证书
public class AuditCert extends Basic {
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	
//	@JSONField(name="dataid")
//	private String dataId;
	// 许可证编码
	@JSONField(name="xkznum")
	private String xkznum;
	// 发证时间
	@JSONField(name="fztime")
	private String fztime;
	// 许可证副码
	@JSONField(name="xkzfmnum")
	private String xkzfmnum;
	// 许可证发证机关级别
	@JSONField(name="xkzhfjgjb")
	private String xkzhfjgjb;
	// 发证机关
	@JSONField(name="fzdept")
	private String fzdept;
	// 有效期限
	@JSONField(name="times")
	private String times;
	
	@OneToMany(cascade = CascadeType.ALL)
	@JSONField(name="spyjlist")
	private List<AuditAdvice> auditAdvices;
}
